import common from "../common";
import constants from "../constants";

const baseUnitApi = {
    findBaseUnits: (data, success, error) => {
        return common.requestData(constants.API_FindBaseUnits, data, success, error);
    },
    saveBaseUnit: (data, success, error) => {
        return common.requestData(constants.API_SaveBaseUnit, data, success, error);
    },
    batchDelUnit: (data, success, error) => {
        return common.requestData(constants.API_BatchDelUnit, data, success, error);
    },
};

export default baseUnitApi;
